// 最简代码，也就是这些字段必须有
export default {
    path: "/posts",
    meta: {
      title: "帖子"
    },
    children: [
      {
        path: "/posts/main",
        name: "PostsMain",
        component: () => import("@/views/posts/main.vue"),
        meta: {
          title: "全部帖子",
          showParent: true
        }
      },
      {
        path: "/posts/publish",
        name: "PublishPost",
        component: () => import("@/views/posts/publishPost.vue"),
        meta: {
          title: "发布帖子",
          showParent: true
        }
      },
      {
        path: "/posts/detail",
        name: "PostDetail",
        component: () => import("@/views/posts/detail.vue"),
        meta: {
          title: "帖子详情",
          showParent: true
        }
      },
    ]
  };
  